package com.jfinal.enjoy

import com.intellij.openapi.fileTypes.LanguageFileType
import javax.swing.Icon

class EnjoyFileType : LanguageFileType(EnjoyLanguage) {
    override fun getName() = "Enjoy Template"
    override fun getDescription() = "JFinal Enjoy template file"
    override fun getDefaultExtension() = "enjoy"
    override fun getIcon(): Icon = EnjoyIcons.FILE

    companion object {
        val INSTANCE = EnjoyFileType()
    }
}
